Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: find+replace DrawBoundary dataFieldBoundary prop to fn and remove dataFieldArea prop #4085

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jessicamcinchak
Copy link
Member

@jessicamcinchak jessicamcinchak commented Dec 17, 2024

@jessicamcinchak jessicamcinchak changed the title wip: find+replace DrawBoundary dataFieldBoundary to fn and remove dataFieldArea prop wip: find+replace DrawBoundary dataFieldBoundary prop to fn and remove dataFieldArea prop Dec 17, 2024
Copy link

github-actions bot commented Dec 17, 2024

Pizza

Deployed 057a966 to https://4085.planx.pizza.

Useful links:

value={formik.values.dataFieldArea}
onChange={formik.handleChange}
value={formik.values.fn}
disabled
Copy link
Member Author

@jessicamcinchak jessicamcinchak Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is a good summary / convergence point of main significant changes throughout:

  • Only support a single data field prop (rather than two data fields)
  • Change the underlying prop name for the data field so it's picked up in graph styling, search facets by default
  • Disable the data field input similar to PlanningConstraints & Pay as it's actually very important for integrations that it's called exactly this
  • Change the actual data field value prefix from property. to proposal. to better align to schema

Before:
Screenshot from 2024-12-17 17-59-28
Screenshot from 2024-12-17 17-59-04

After:
Screenshot from 2024-12-17 17-58-28
Screenshot from 2024-12-17 17-58-02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant